How to: Use XCOPY command with Windows 95 MS-DOS.
Solution:
Type XCOPY at the MS-DOS prompt followed by a backslash and an appropriate switch.
1) At the MS-DOS prompt, type the following:
XCOPY/<switch> (where <switch> is one of the following valid switches):
/T - Copy directory structure only
/D - Copy files newer than the destination files
/C - Continue even on error b
/H - Copy hidden and system files also
/R - Overwrite read-only files
/U - Copy only files that already exist on the destination
/N - Copy using short names
/I - Copy more than one file to the destination (assumes destination is a directory)
/Q - Copies files without showing filenames
/F - Displays full path of the destination while copying files
/L - Displays files that would be copied
/K - Copies attributes
NOTE: The following switches are included in both MS-DOS and Windows 95:
/Y - Copy without confirming replacement of existing files
/-Y - Confirm replacement of existing files
/A - Copy source files that have Archive file attributes set
/M - Copy source files that have Archive file attributes set; turns off source attributes
/D:date - Copies files modified on or after the specified date
/P - Prompts to confirm whether to create each destination file
/S - Copies directories and subdirectories unless they are empty
/E - Copies any subdirectories, even if they are empty
/W - Displays a message to press a key to begin copying files
2) Press ENTER.